package com.huilian.iotbox.client.service.impl;

import com.huilian.iotbox.client.dao.CommodityStockRecordItemDao;
import com.huilian.iotbox.client.service.CommodityStockRecordItemService;
import com.huilian.iotbox.data.dto.CommodityStockRecordItemDto;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class CommodityStockRecordItemServiceImpl implements CommodityStockRecordItemService {
    @Resource
    private CommodityStockRecordItemDao commodityStockRecordItemDao;

    @Override
    public int add(CommodityStockRecordItemDto commodityStockRecordItemDto) {
        return commodityStockRecordItemDao.add(commodityStockRecordItemDto);
    }
}
